package com.cn.mmd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 视图控制器,返回jsp视图给前端
 *
 **/
@Controller
@RequestMapping("page")
public class PageController {

    /**
     * 导出页
     */
    @RequestMapping("/poiExport")
    public String poiExport() {
        return "/poiExport";
    }

    /**
     * 导入页
     */
    @RequestMapping("/poiImport")
    public String poiImport() {
        return "/poiImport";
    }

    /**
     * 添加课程
     * @return
     */
    @RequestMapping("/examineCourse")
    public String examineCourse() {
        return "/examineCourse";
    }

    /**
     * 资料
     * @return
     */
    @RequestMapping("/information")
    public String information(){
        return "/information";
    }

    /**
     * 登录
     * @return
     */
    @RequestMapping("/login")
    public String login(){
        return "/login";
    }

    /**
     * 主页
     */
    @RequestMapping("/dashboard")
    public String dashboard() {
        return "/dashboard";
    }

    /**
     * 活动页面
     */
    @RequestMapping("/activity")
    public String activity() {
        return "/activity";
    }

    /**
     * 活动查看页面
     */
    @RequestMapping("/activitySUD")
    public String activitySUD() {
        return "/activitySUD";
    }

    /**
     *课程查看页面
     */
    @RequestMapping("/course")
    public String course() {
        return "/course";
    }

    /**
     *查看学生页面
     */
    @RequestMapping("/student")
    public String student() {
        return "/student";
    }

    /**
     *添加学生
     */
    @RequestMapping("/addStudent")
    public String addStudent() {
        return "/addStudent";
    }

    /**
     *查看权限
     */
    @RequestMapping("/shiroL")
    public String shiroL() {
        return "/shiroL";
    }

    /**
     *查看老师
     */
    @RequestMapping("/teacherL")
    public String teacherL() {
        return "/teacherL";
    }

    /**
     *添加老师
     */
    @RequestMapping("/addTeacher")
    public String addTeacher() {
        return "/addTeacher";
    }

    /**
     *回到主页
     */
    @RequestMapping("/index")
    public String index() {
        return "/index";
    }

    /**
     *设置问卷模板
     */
    @RequestMapping("/questionnaire")
    public String questionnaire() {
        return "/questionnaireTemplate";
    }

    /**
     *查看问卷模板
     */
    @RequestMapping("/selQuesTem")
    public String selQuesTem() {
        return "/selQuesTem";
    }

    /**
     *查看问卷模板详情
     */
    @RequestMapping("/selectTemplateParticulars")
    public String selectTemplateParticulars() {
        return "/selectTemplateParticulars";
    }

    /**
     *发布就业问卷
     */
    @RequestMapping("/employmentQuest")
    public String employmentQuest() {
        return "/publishEmployment";
    }


    /**
     *就业问卷统计
     */
    @RequestMapping("/employmentStatistics")
    public String employmentStatistics() {
        return "/employmentStatistics";
    }


    /**
     *导出SCL问卷
     */
        @RequestMapping("/poiExportSCL90")
        public String poiExportSCL() {
            return "/poiExportSCL90";
        }

    /**
     * 教学组
     * @return
     */
    @RequestMapping("/teacherGroup")
    public String teacherGroup() {
        return "/teacherGroup";
    }

    /**
     * 抽奖添加
     * @return
     */
    @RequestMapping("/integralAdd")
    public String integralAdd() {
        return "/integralAdd";
    }

    /**
     * 抽奖添加
     * @return
     */
    @RequestMapping("/password")
    public String password() {
        return "/password";
    }
}
